Skip to content

Update acm SDK to v1.42.0 and regenerate#109

Merged
ack-prow[bot] merged 1 commit into
aws-controllers-k8s:mainfrom
KyleBS:regenerate-against-sdk-v1.42.0
Jul 20, 2026
Merged

Update acm SDK to v1.42.0 and regenerate#109
ack-prow[bot] merged 1 commit into
aws-controllers-k8s:mainfrom
KyleBS:regenerate-against-sdk-v1.42.0

Conversation

@KyleBS

@KyleBS KyleBS commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available: N/A

Description of changes: Bumps github.com/aws/aws-sdk-go-v2/service/acm from v1.33.0 to v1.42.0 and regenerates against the latest code-generator. This is a regeneration-only change with no new functionality:

  • Certificate doc-comment/URL refresh from the newer SDK model
  • New v1.42.0 model shapes emitted into types.go/enums.go/deepcopy
  • Metadata now records a clean code-generator version and aws_service_sdk_version v1.42.0

The ACME resources (AcmeEndpoint, AcmeExternalAccountBinding, AcmeDomainValidation) present in the v1.42.0 model are ignored via ignore.resource_names; the controllers for them are added in a follow-up PR.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ack-prow
ack-prow Bot requested review from gustavodiaz7722 and knottnt July 17, 2026 18:42
@ack-prow ack-prow Bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jul 17, 2026
@ack-prow

ack-prow Bot commented Jul 17, 2026

Copy link
Copy Markdown

Hi @KyleBS. Thanks for your PR.

I'm waiting for a aws-controllers-k8s member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Tip

We noticed you've done this a few times! Consider joining the org to skip this step and gain /lgtm and other bot rights. We recommend asking approvers on your previous PRs to sponsor you.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@KyleBS
KyleBS force-pushed the regenerate-against-sdk-v1.42.0 branch 2 times, most recently from 43eacf8 to eff0b9c Compare July 20, 2026 17:20

@michaelhtm michaelhtm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@ack-prow ack-prow Bot added lgtm Indicates that a PR is ready to be merged. approved labels Jul 20, 2026
@michaelhtm

Copy link
Copy Markdown
Member

/label release/minor

@ack-prow ack-prow Bot added the release/minor Indicates this PR should trigger a minor version release on merge. label Jul 20, 2026
@michaelhtm

Copy link
Copy Markdown
Member

/ok-to-test

@ack-prow ack-prow Bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jul 20, 2026
@KyleBS
KyleBS force-pushed the regenerate-against-sdk-v1.42.0 branch from eff0b9c to 52c472f Compare July 20, 2026 17:55
@ack-prow ack-prow Bot removed the lgtm Indicates that a PR is ready to be merged. label Jul 20, 2026
Bumps github.com/aws/aws-sdk-go-v2/service/acm from v1.33.0 to v1.42.0
and regenerates against the latest code-generator. Regeneration-only, no
new functionality.

New CRD fields introduced by the v1.42.0 model:
- spec.managedBy: server-set, create-only (not in UpdateCertificateOptions),
  and nil for all non-managed certificates. Marked is_immutable +
  compare.is_ignored (NOT late_initialize -- a late-init field that is
  routinely nil makes incompleteLateInitialization loop forever, so the
  controller never reaches ResourceSynced=True).
- spec.options.export: server-defaulted but updatable. late_initialize so
  the unset value is populated (avoiding a false-delta Update loop) while
  remaining in the delta so genuine user changes still reconcile. AWS
  returns Export for public and imported certs, so late-init completes.
- status.domainValidations[].httpRedirect and
  status.renewalSummary.domainValidationOptions[].httpRedirect are read-only
  status fields.

ACME resources present in the v1.42.0 model are ignored via
ignore.resource_names; controllers for them are added in a follow-up.
@KyleBS
KyleBS force-pushed the regenerate-against-sdk-v1.42.0 branch from 52c472f to 8e48343 Compare July 20, 2026 18:16
@ack-prow

ack-prow Bot commented Jul 20, 2026

Copy link
Copy Markdown

@KyleBS: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
acm-verify-attribution 8e48343 link false /test acm-verify-attribution

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@michaelhtm

Copy link
Copy Markdown
Member

/lgtm

@ack-prow ack-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 20, 2026
@ack-prow

ack-prow Bot commented Jul 20, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: KyleBS, michaelhtm

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ack-prow
ack-prow Bot merged commit feb49ac into aws-controllers-k8s:main Jul 20, 2026
8 of 9 checks passed
KyleBS pushed a commit to KyleBS/aws-controllers-k8s-acm-controller that referenced this pull request Jul 20, 2026
Adds AcmeEndpoint, AcmeExternalAccountBinding, and AcmeDomainValidation
as ACK resources on top of the v1.42.0 ACM SDK (now in main).

- Removes these three from ignore.resource_names and generates the
  controllers, CRDs, and helm artifacts.
- EAB credentials (keyId + macKey) are fetched via
  GetAcmeExternalAccountBindingCredentials and written to a pre-existing,
  user-specified Secret; the non-sensitive keyID is surfaced in status.
- Standardized tag support (TagResource/UntagResource/ListTagsForResource)
  for all three resources. EAB has no service-side update, so its sdkUpdate
  is a custom tag-only reconcile.
- AcmeEndpoint.CertificateAuthority is is_immutable + compare.is_ignored to
  avoid churn on server-defaulted AllowedKeyAlgorithms (no late_initialize,
  which would risk the incompleteLateInitialization loop seen in aws-controllers-k8s#109).
- e2e tests cover create/update/delete plus AWS-describe verification and
  tag assertions via acktest.tags.assert_equal_without_ack_tags.

Addresses review feedback on aws-controllers-k8s#108 (tag support, e2e update ops, AWS-side
verification, correct metadata).
ack-prow Bot pushed a commit that referenced this pull request Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release/minor Indicates this PR should trigger a minor version release on merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants